package com.itheima.oopadvanced.polymorphic;

/**
 * @author Anomaly
 * @date 2022/12/19 23:37
 */
public class Dog extends Animal {
    public String name = "Dog-name";
    @Override
    public void run() {
        System.out.println("Dog.run()~~~");
    }

    public void run2(){
        System.out.println("Dog--run2");
    }
}
